# def f(n):
#     if n <= 1:
#         return 1
#     else:
#         return n * f(n - 1)
#
#
# num = int(input("输入一个正整数:"))
# s = f(num)
# print(num, "的阶乘是: ",s)


# def su(n):
#     if n == 1:
#         return 1
#     else:
#         return n + su(n-1)
#
# print(su(120))

#
# def fb(n):
#     if n <= 2:
#         return 1
#     else:
#         return fb(n - 1) + fb(n - 2)
#
#
# print('斐波那契数列的第{}项为{}'.format(12, fb(12)))


# sum = lambda a, b, c: a + b + c
# print(sum(1, 2, 3))
#
# fun = lambda m: m ** 2
# print(fun(5))
